Skip to main content

DescribeSecurityCheckScheduleConfig

Description

call the DescribeSecurityCheckScheduleConfig interface to view the detection period and time period set by the user.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeSecurityCheckScheduleConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
regionIdBODYstringYesNo sample value for this parameter.region id
LangBODYstringNozhthe language type of the request and receive message. zh: Chinese en: English
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RiskCheckJobConfigNo sample value for this parameter.setting information for periodic detection tasks.
DaysOfWeekstring1,2,3detection period. You can set the value from Monday to Sunday, and you can set multiple days. Separate the number of days with English commas. 1: Monday 2: Tuesday 3: Wednesday 4: Thursday 5: Friday 6: Saturday 7: Sunday
RequestIdstring48D2E9A9-A1B0-4295-B727-0995757C47E9request ID of the result.
EndTimeinteger12detection end time. 6: End detection at 00:00-06:00 12: End detection at 06:00-12:00 18: End detection at 12:00-18:00 24: End detection at 18:00-24:00
StartTimeinteger6detection start time. 0: start detection at 00:00-06:00 6: start detection at 06:00-12:00 12: start detection at 12:00-18:00 18: start detection at 18:00-24:00

Example

Successful Response example

{
"RiskCheckJobConfig":"",
"DaysOfWeek":"1,
2,
3",
"RequestId":"48D2E9A9-A1B0-4295-B727-0995757C47E9",
"EndTime":"12",
"StartTime":"6"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}